import requests

r = requests.head('http://127.0.0.1:8000/index/')
print(r.headers)
print(r.text)
r.json()
